<?php
/* SVN FILE: $Id: fileedits.php 173 2009-08-25 16:52:18Z supersmashbrothers $ */
/**
* ibMarket 2
* IP.Board 3.0
* ibMarket file edits
*
* @author $Author: supersmashbrothers $
* @copyright $Copyright$
* @version $Revision: 173 $
* @lastrevision $Date: 2009-08-25 16:52:18 +0000 (Tue, 25 Aug 2009) $
* @modifiedby $LastChangedBy: supersmashbrothers $
* @lastmodified $LastChangedDate: 2009-08-25 16:52:18 +0000 (Tue, 25 Aug 2009) $
* @filesource $URL: http://ipb-ibmarket.googlecode.com/svn/ibmarket2/trunk/admin/applications_addon/other/ibmarket/modules_admin/splash/fileedits.php $
*/


if ( ! defined( 'IN_ACP' ) )
{
	print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
	exit();
}

class admin_ibmarket_splash_fileedits extends ipsCommand
{
	/**
	 * Skin object
	 *
	 * @access	private
	 * @var		object			Skin templates
	 */
	private $html;
	
	/**
	 * Main class entry point
	 *
	 * @access	public
	 * @param	object		ipsRegistry reference
	 * @return	void		[Outputs to screen]
	 */
	public function doExecute( ipsRegistry $registry )
	{
		$this->html = $this->registry->output->loadTemplate('cp_skin_splash');
		
		$this->registry->getClass('class_localization')->loadLanguageFile( array( 'admin_market' ) );
		
		$this->registry->output->html = $this->html->list_file_edits();
		
		$this->registry->getClass('output')->addToDocumentHead('importcss',$this->settings['skin_app_url']."splash.css");
		$this->registry->getClass('output')->html_main .= $this->registry->getClass('output')->global_template->global_frame_wrapper();
		$this->registry->getClass('output')->sendOutput();
	}
}